/*
 * =====================================================================================
 *
 *       Filename:  LeafNode.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/06/2022 09:52:05 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include "LeafNode.h"
CLeafNode::CLeafNode(void) {
    m_isLeaf = true;
}

CLeafNode::CLeafNode(string name, string pos, int salary): CCorpNode(name, pos, salary) {
    m_isLeaf = true;
}

CLeafNode::~CLeafNode(void) {
}

bool CLeafNode::IsLeaf() {
    return m_isLeaf;
}
